﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TeamFranceTriple.Dev
{
    public partial class EmptyUserControl : BaseUserControl
    {
        private Int32 AutoRefreshFrequency = 0;
        // private Int32 AutoRefreshFrequency = TeamFranceTripleConfig.WebConfig.<EmptyUserControl>.AutoRefresh;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (AutoRefreshFrequency == 0)
                Timer1.Enabled = false;
            else if (!Request.Browser.IsMobileDevice && ThisMaster.Requester.IsAuthenticated)
                Timer1.Interval = AutoRefreshFrequency * 1000;
        }
    }
}